//
// Created by 66477 on 2022/9/28.
//

#ifndef DATA_STRUCTURE_CTRLUTIL_H
#define DATA_STRUCTURE_CTRLUTIL_H

class CtrlUtil {
public:
    CtrlUtil *start() {
        while (true) {
            cout << "(1-3)Which question to test? :";
            int i;
            cin >> i;
            switch (i) {
                case 1:
                    cout << "(question1)" << endl;
                    q1();
                    break;
                case 2:
                    cout << "(question2)" << endl;
                    q2();
                    break;
                case 3:
                    cout << "(question3)" << endl;
                    q3();
                    break;
                default:
                    return this;
            }
            cout << "-------------" << endl;
        }
    }

    void q1() {

    }

    void q2() {

    }

    void q3() {

    }
};

#endif //DATA_STRUCTURE_CTRLUTIL_H
